﻿Imports DAO
Imports DTO
Public Class MuaHangChiTietBUS
    Public Shared Function LayDanhSachChiTietDoHang(MaPhieuMuaHang As String) As DataTable
        Return MuaHangChiTietDAO.LoadMuaHangChiTiet(MaPhieuMuaHang)
    End Function

    Public Shared Function ThemChiTietDonHang(muaHangChiTiet As MuaHangChiTietDTO) As Boolean
        Return MuaHangChiTietDAO.Insert(muaHangChiTiet)
    End Function

    Public Shared Function SuaChuaChiTietDonHang(muaHangChiTiet As MuaHangChiTietDTO) As Boolean
        Return MuaHangChiTietDAO.Update(muaHangChiTiet)
    End Function
End Class
